package com.ztgf.order.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.order.models.bo.OrderContractParamRelationSaveBO;
import com.ztgf.order.models.bo.OrderInvoiceBO;
import com.ztgf.order.models.dto.OrderContractParamRelationDTO;
import com.ztgf.order.models.vo.OrderInfoVO;
import com.ztgf.shopping.models.dto.shop.ShopContractParamRelationDTO;

import java.util.List;

/**
 * 订单合同的参数关系表服务
 *
 * @author YUE
 * @Date 2020-07-20 17:48:20
 */
public interface IOrderContractParamRelationService extends IService<OrderContractParamRelationDTO> {
    boolean add(OrderContractParamRelationSaveBO saveBO);
    OrderContractParamRelationDTO getByOrderId(Long orderId);

    boolean updateDefaultContent(Long orderId);

    ShopContractParamRelationDTO getContractContent(Long orderId);

    boolean addDefaultContent(OrderInfoVO orderInfoVO, OrderInvoiceBO orderInvoiceBO, List<String> ids);
}
